import { TableColumnData } from '@arco-design/web-vue';

export default [
  {
    title: '品类名称',
    dataIndex: 'categoryName',
    fixed: 'left',
    width: 250,
  },
  {
    title: '密级',
    dataIndex: 'secretLevel',
    slotName: 'secretLevel',
    width: 120,
    fixed: 'left',
  },
  {
    title: '采购件分类',
    dataIndex: 'procurementClassificationName',
    width: 120,
  },
  {
    title: '品类编码',
    dataIndex: 'categoryCode',
    width: 130,
    ellipsis: true,
    tooltip: true,
  },
  {
    title: '采购品类层级',
    dataIndex: 'categoryHierarchy',
    width: 120,
  },
  {
    title: '零级品类',
    dataIndex: 'categoryZeroName',
    width: 120,
  },
  {
    title: '父级品类编码',
    dataIndex: 'parentCategoryCode',
    width: 130,
    ellipsis: true,
    tooltip: true,
  },
  {
    title: '父级品类名称',
    dataIndex: 'parentCategoryName',
    width: 120,
  },
  {
    title: '品类状态',
    dataIndex: 'categoryStatusName',
    width: 120,
  },
  {
    title: '生效日期',
    dataIndex: 'effectiveTime',
    width: 120,
  },
  {
    title: '失效日期',
    dataIndex: 'invalidTime',
    width: 120,
  },
  {
    title: '申请人',
    dataIndex: 'preparedBy',
    width: 120,
    ellipsis: true,
    tooltip: true,
  },
  {
    title: '最新维护人',
    dataIndex: 'updater',
    width: 120,
    ellipsis: true,
    tooltip: true,
  },
  {
    title: '最后修改时间',
    dataIndex: 'updateTime',
    width: 120,
  },
  {
    title: '制单状态',
    dataIndex: 'documentPreparationStatusName',
    width: 120,
  },
  {
    title: '编制人',
    dataIndex: 'creator',
    width: 130,
    ellipsis: true,
    tooltip: true,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    width: 120,
  },

  {
    title: '操作',
    dataIndex: 'operate',
    slotName: 'operate',
    fixed: 'right',
    width: 250,
  },
] as TableColumnData[];
